package features.advance.jdk.beans;

import com.sun.beans.editors.IntegerEditor;

import java.util.UUID;

/**
 * @author LIN
 * @date 2021-09-09
 */
public class Editor {

    public static void main(String[] args) {
        String str = "1-2-3-4-5";
        UUID uuid = UUID.fromString(str);
        System.out.println(uuid);
        IntegerEditor integerEditor = new IntegerEditor();
        integerEditor.setAsText("#A");
        Object value = integerEditor.getValue();
        System.out.println(value);
        

    }

}
